import CustomEvent = WechatMiniprogram.CustomEvent;

interface DetailOfCustomEvent<T> extends CustomEvent {
  detail: T;
}

type WrapWidthUndefined<T> = T | undefined;

export { DetailOfCustomEvent, WrapWidthUndefined };
